home *** CD-ROM | disk | FTP | other *** search
/ Power DOS 1996 July / Power DOS - July 1996.iso / sound / c_labs / awe / adip.exe / AWECHECK.DOC < prev    next >
Text File  |  1995-08-14  |  1KB  |  38 lines

  1. This file documents the awe32Check() function. It can be found in
  2. the independent AWECHECK.OBJ module.
  3.  
  4.  
  5. IMPORTANT: If auto-detection is needed, developers are advised to use
  6. the function to detect the presence of the EMU8000 wavetable engine.
  7. This is because the base I/O address of EMU8000 is no longer guaranteed
  8. to be at 0x400 offfset to the 0x2X0 SoundBlaster 16 base address.
  9.  
  10.  
  11. The prototype of the function is as follow:
  12.  
  13.     WORD
  14.     PASCAL awe32Check(WORD   wBaseAddx,
  15.                       DWORD* pdwRomId,
  16.                       DWORD* pdwRomVer,
  17.                       DWORD* pdwDramSize)
  18.  
  19.     where
  20.     1. wBaseAddx refers to the base I/O address of EMU8000
  21.     2. pdwRomId is a pointer to a DWORD where ROM ID will be stored
  22.     3. pdwRomVer is a pointer to a DWORD where ROM version number
  23.        will be stored
  24.     4. pdwDramSize is a pointer to a DWORD where the size of all
  25.        available RAM will be stored
  26.  
  27. The function detects the presence of EMU8000, gets the ROM ID & ROM
  28. version number, and detects the available RAM. If the EMU8000 is
  29. present awe32Check returns zero. Current SB AWE32's ROM ID is
  30. 0x4d474d31 and ROM version is 0x20008. The supplied presets (EMBED.OBJ),
  31. is made specifically for this ROM ID only. The RAM size is in term of
  32. the number of 16bit samples.
  33.  
  34. The ROM ID and ROM version number are provided for information purposes
  35. only. Applications should not rely on them for their thread of
  36. executions.
  37.  
  38.